//
//  UnregisterLongPressListener.m
//  Staff
//
//  Created by caiyao on 1/13/15.
//
//

#import "UnregisterLongPressListener.h"

@implementation UnregisterLongPressListener

- (void)excute {
    
    if (self.command.callbackJS == nil)
    {
        // url param is missing fail to handle
        [self excuteNonHookFoundCallback];
        return;
    }
    
    // remove swipe gestures
    [self.hookViewController unRegisterLongPress];
    
    [self excuteCallBackJSWithParameters:region_webview_status_code_0000];
}

@end
